# Maintainer: Alexey Pavlov <alexpux@gmail.com>

pkgname=aspell6-en
pkgver=7.1
_pkg_subver=0
pkgrel=1
pkgdesc="Aspell English dictionaries"
arch=('i686' 'x86_64')
url="ftp://ftp.gnu.org/gnu/aspell/dict/0index.html"
license=('custom')
groups=()
makedepends=('aspell-devel')
depends=('aspell>=0.60')
provides=('aspell-en')
options=()
source=("http://ftp.gnu.org/gnu/aspell/dict/en/$pkgname-$pkgver-${_pkg_subver}.tar.bz2"{,.sig})
sha256sums=('ff9df3c2e8c5bb19c6a66078b36a0ef4c4dfb0fcb969e29f7b5345e26d748d0a'
            'SKIP')

build() {
  cd "$srcdir/$pkgname-$pkgver-${_pkg_subver}"
  ./configure
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver-${_pkg_subver}"
  make DESTDIR="$pkgdir/" install

  install -Dm644 Copyright $pkgdir/usr/share/licenses/aspell-en/Copyright
}
